package com.luych.toolbox.base.service.dao;

import com.luych.toolbox.base.service.entity.ScriptArg;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ScriptArgDao extends JpaRepository<ScriptArg, String>, JpaSpecificationExecutor<ScriptArg> {

    List<ScriptArg> findAllByScriptId(String scriptId);

    void removeByScriptId(String scriptId);

}